/**
 * 
 */
package com.glm.wwii.battleships.enemy;

import org.andengine.entity.sprite.Sprite;
import org.andengine.opengl.texture.ITexture;
import org.andengine.opengl.texture.region.ITextureRegion;
import org.andengine.opengl.vbo.VertexBufferObjectManager;

import com.glm.wwii.battleships.defence.Const.ConstValue;

/**
 * @author gianluca
 *
 */
public class Destroyer extends Sprite{
	/**
	 * iPower=Definisce la vita
	 * iShield=Resistenza agli attacchi
	 * iSpeed=Velocita' di movimento
	 * */
	private int iPower=ConstValue.I_DESTROYER_POWER, iShield=ConstValue.I_DESTROYER_SHIELD,iSpeed=ConstValue.I_DESTROYER_SPEED;;
	
	/**Definisce la coordinata sullo schermo*/
	private float X;
	private float Y;
	private boolean Visible=false;
	/**descrizione e nome*/
	private String Name;
	private String Description;
	/**preferenze grafiche*/
	private ITexture Texture;
	
   
  /**
	 * @param pX
	 * @param pY
	 * @param pTextureRegion
	 * @param vertexBufferObjectManager
	 */
	public Destroyer(int weight, float pX, float pY, ITextureRegion pTextureRegion,
			VertexBufferObjectManager pVertexBufferObjectManager) {
		super(pX, pY, pTextureRegion, pVertexBufferObjectManager);
		
	} 
	/**
	 * Aircraft.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 25/ago/2012
	 * @return int the iPower
	 */
	public synchronized int getiPower() {
		return iPower;
	}
	/**
	 * Aircraft.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 25/ago/2012
	 * @param iPower the iPower to set type int
	 */
	public synchronized void setiPower(int iPower) {
		this.iPower = iPower;
	}
	/**
	 * Aircraft.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 25/ago/2012
	 * @return int the iShield
	 */
	public synchronized int getiShield() {
		return iShield;
	}
	/**
	 * Aircraft.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 25/ago/2012
	 * @param iShield the iShield to set type int
	 */
	public synchronized void setiShield(int iShield) {
		this.iShield = iShield;
	}
	/**
	 * Aircraft.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 25/ago/2012
	 * @return int the iSpeed
	 */
	public synchronized int getiSpeed() {
		return iSpeed;
	}
	/**
	 * Aircraft.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 25/ago/2012
	 * @param iSpeed the iSpeed to set type int
	 */
	public synchronized void setiSpeed(int iSpeed) {
		this.iSpeed = iSpeed;
	}
	/**
	 * Aircraft.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 25/ago/2012
	 * @return float the x
	 */
	public synchronized float getX() {
		return X;
	}
	/**
	 * Aircraft.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 25/ago/2012
	 * @param x the x to set type float
	 */
	public synchronized void setX(float x) {
		X = x;
	}
	/**
	 * Aircraft.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 25/ago/2012
	 * @return float the y
	 */
	public synchronized float getY() {
		return Y;
	}
	/**
	 * Aircraft.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 25/ago/2012
	 * @param y the y to set type float
	 */
	public synchronized void setY(float y) {
		Y = y;
	}
	/**
	 * Aircraft.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 25/ago/2012
	 * @return boolean the visible
	 */
	public synchronized boolean isVisible() {
		return Visible;
	}
	/**
	 * Aircraft.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 25/ago/2012
	 * @param visible the visible to set type boolean
	 */
	public synchronized void setVisible(boolean visible) {
		Visible = visible;
	}
	/**
	 * Aircraft.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 25/ago/2012
	 * @return String the name
	 */
	public synchronized String getName() {
		return Name;
	}
	/**
	 * Aircraft.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 25/ago/2012
	 * @param name the name to set type String
	 */
	public synchronized void setName(String name) {
		Name = name;
	}
	/**
	 * Aircraft.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 25/ago/2012
	 * @return String the description
	 */
	public synchronized String getDescription() {
		return Description;
	}
	/**
	 * Aircraft.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 25/ago/2012
	 * @param description the description to set type String
	 */
	public synchronized void setDescription(String description) {
		Description = description;
	}
	/**
	 * Aircraft.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 25/ago/2012
	 * @return ITexture the texture
	 */
	public synchronized ITexture getTexture() {
		return Texture;
	}
	/**
	 * Aircraft.java
	 *
	 * @author Gianluca Masci aka GLM
	 * 25/ago/2012
	 * @param texture the texture to set type ITexture
	 */
	public synchronized void setTexture(ITexture texture) {
		Texture = texture;
	}	
}
